﻿var gms = {};
gms.site = {};

// ANYTHING AFTER THIS IS ONLY FOR SITEWIDE INITIALIZATION
$(document).ready(function () {
	var cbutton = $("#console-button");
	cbutton.button({
		icons: {
			secondary: "ui-icon-triangle-1-s"
		}
	});
	cbutton.click(function () {
		if ($("#console-menu").is(":hidden")) {
			$("#console-menu").show();
		}
		else {
			$("#console-menu").hide();
		}
	});

	$(".buttonize").button();
	$(".buttonize-small").button();
	$(".buttonize-group").buttonset();
});